import request from '../utils/request'

export const findUserList=(current,size,UserVO)=>{
  return request({
    url:"/user/findUserPage",
    method:"post",
    params: {
      current,size
    },
    data: UserVO
  })
}
/*删除oss中图片*/
export const deleteImage=(file)=>{
  return request({
    url:"/oss/deleteImgFile",
    method:"post",
    params: {
     file
    }
  })
}
/*增加用户*/
export const saveUser=(user)=>{
  return request({
    url:"/user/addUser",
    method:"post",
    data: user
  })
}

